<?php
/*
  $Id$
  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2011 osCommerce

  Released under the GNU General Public License
*/
  define('TITLE_EXTENDS_EXAMPLE', '<h1>Admin Extends</h1>');
  define('EXTENDS_DESCRIPTION', '<p>This box contains modified original and new files for admin. This help for installation step. Don\'t need to edit filenames.</p>
  <p>Contributions can reach at Modules/Contributions.</p>
  <h2>General Installation Steps</h2>
  <ul>
  <h3>Step 1</h3>
  <li>Make backup first!</li>
  <h3>Step 2</h3>
  <li>Upload extend module to server.</li>
  <h3>Step 3</h3>
  <li>Install new package on Contribution Module <a href="' . tep_href_link(FILENAME_MODULES, 'set=contributions&list=new') . '">Modules/Contributions->Install Module</a>. The new package will listed in extends box.</li>
  </ul>
  <h2>How can it help?</h2>
  <p>Administrator can run SQL extend modules for other contributions, and show version lists by installed modules. There are possibility to implement help or other documentations. Look at easy populate by this way.</p>
  <h2>Documentation for developers</h2>
  <h3>Rules of extends modules</h3>
  <p>Extends modul makes linked menus by automatism. Listed filenames search from ADMIN_FILENAME configuration group (configuration_group.configuration_group_title = "ADMIN_FILENAME"). The admin filenames installed by sql modules which programs can use other installation steps.</p>
  <p>The main file is extends_.php included extends box constans (EXTENDS_BOX_HEADING) in admin/includes/languages/english/column_left/</p>
  <h4>Generate new group</h4>
  <p>Name prefix means that every new prefixed filename generate new box group. The main language switched filename contains box heading text. ie: admin/newgroup_.php, admin/newgroup_first.php, admin/newgroup_second.php. The main filename prefix is NEWGROUP. The main language extends filname is admin/includes/languages/english/left_column/newgroup_.php<strong>Note: if there is declared new group defenietly give filenames to box.</strong> 
  <p>Define box and links names <i>define("BOX_HEADING_NEWGROUP_", "This is new group name")</i></p>
  <p>The extends module main language filename is in admin/languages/english/column_left/ mappa.</p>
  <h4>Full new groups</h4>
  <p>The main extends language file can define all linked file\'s menu name in one group. Look at example1.php where not need to use "_" prefix definition.</p>
  <h3>Extends boxes examples</h3>
  <p>The extends admin boxes contribution contains two live example and a simple not included file example. The examples can uninstalled later.</p>
  <h3>Conflicts</h3>
  <p>The "old style" contributions use fixed "configuration_group" values (ie: SEO) maybe do conflicts. Before  install these contributions we need to exam configuration_group in table!</p>
  <p>Be carefull with filenames declarations because can be conflicts with shop or admin standard predefined filnames.</p>
  ');

?>